<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
  <title>Inventory</title>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>

  <!--[if lte IE 9]>
  <script src="https://www.assembla.com/assets/lte_ie9.js?1368839822" type="text/javascript"></script>
  <![endif]-->
  <!-- prevents swf file caching -->
  <meta http-equiv="PRAGMA" content="NO-CACHE">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>
<div class="outer ">

  <!--[if IE 6]>
  <div class="browser-ie6" style="display: none;">
      <div>
  <![endif]-->
  <div class="b-wrapper ">

    <div id="header-w">
      <div id="header" >
        <!--<div id="header-links">-->
          <!--<div class="top-space"></div>-->
        <!--</div>-->
        <div id="logo">
            <h1 class="header-w clear-float float-left"> <span>Inventory</span> </h1>
        </div>
        
            <div class="right-app-top-bar">
      <div class="user-options" id="user-options">
        <div class="dropdown-wraper">
          <% if session[:user_id] %>
              <%= session[:user_name] %>
              <%= button_to 'Logout', logout_path, :method => :delete, :class => 'toptext' %>
          <% end %>
        </div>

        <!-- /user-links -->
      </div>
      <!-- /user-options -->
    </div>
    <!-- /right-app-top-bar -->
      </div>
      <!-- /header -->
    </div>
    <!-- /header-w -->

    <div id="main-menu-w">
      <ul class="clear-float" id="main-menu">
        <li class="tab <%= cp(categories_path) %>"> <%= link_to 'Category', categories_path %></li>
        <li class="tab <%= cp(products_path) %>"> <%= link_to 'Products', products_path %></li>        
        <li class="tab <%= cp(customers_path) %>"><%= link_to 'Customers', customers_path %></li>
        <li class="tab <%= cp(users_path) %>"><%= link_to 'Users', users_path %></li>
        <li class="tab <%= cp(invoices_path) %>"><%= link_to 'Invoices', invoices_path %></li>
      
      </ul>
    </div>
    <!-- /main-menu-w -->


    <div id="content">
      <%= yield %><!-- <label id="code.depot.e.include"/> -->

    </div>
  </div>


</div>
<!-- /content -->

<!--<div class="push-app"></div>-->
</div><!-- /b-wrapper -->

<div class="cut">&nbsp;</div>

<div id="footer-w">
  <div id="footer">
  </div>
  <!-- /footer -->
</div>
<!-- /footer-w -->


</div>


</body>
</html>